module.exports = {
  extends: ["@commitlint/config-conventional"],
  rules: {
    "scope-enum": [
      2,
      "always",
      [
        "lang",
        "storybook",
        "design",
        "react",
        "deps",
        "deps-dev",
        // Components as scopes listed below
        "accordion",
        "accordion-group",
        "button",
        "icon",
        "input",
        "badge",
        "tab",
        "tooltip",
        "progress-indicator",
        "checkbox-group",
        "checkbox",
        "alert",
        "select",
        "pagination",
        "radio",
        "dialog",
        "drawer",
        "dropdown",
        "switch",
        "textarea",
        "popover",
        "notification",
        "calendar",
        "table",
        "split-button",
        "tag",
        "datepicker",
        "link",
      ],
    ],
  },
};
